/**
 * 
 */
package com.bestbuy.service;

import java.util.List;

import com.bestbuy.pojo.Cart;
import com.bestbuy.pojo.CartDetail;
import com.bestbuy.pojo.Product;

/**
 * @author Tuan
 *
 */
public interface CartService {
	public Cart getCart(String username);
	public List<CartDetail> getCartDetail(Integer idCart);
	public Boolean addToCart(String username, Integer idProduct, Integer quantity);
	public Boolean removeProduct(String idCartDetail);
	public Boolean updateProduct(String idCartDetail,String quantity);
	public Boolean saveBill(String username);
	public void updateCart(Cart cart);
}
